<%-- 
    Document   : listaBusqueda
    Created on : Dec 15, 2011, 8:18:03 AM
    Author     : Manuel Lap
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="/VirtualBook/css/style.css" rel="stylesheet" type="text/css" media="screen" />
        <title>Lista</title>
    </head>
    <body>
        <div id="header">
	<!-- end #menu -->
</div>
<!-- end #header -->
<!-- end #header-wrapper -->
<div id="logo">
	<h1><a>Virtual</a></h1>
	<p><em>Book</em></p>
</div>
<hr />
<!-- end #logo -->
<div id="page">
	<div id="content">
		<div id="content-bgtop">
                    
                    <div id="content-bgbtm">
                    
                    </div>
		</div>
	
 <table>
            <tr>
                <th><s:text name="book.name" /></th>
                <th><s:text name="book.author" /></th>
                <th><s:text name="book.isbn" /></th>
                <th><s:text name="book.editorial" /></th>
            </tr>
            <s:iterator value="booksFound">
                <tr>
                    <td><s:property value="name" /></td>
                    <td><s:property value="author" /></td>
                    <td><s:property value="isbn" /></td>
                    <td><s:property value="editorial" /></td>
                </tr>
            </s:iterator>    
        </table>
                <s:if test="(booksFound.isEmpty())">
                    <s:text name="noresultados"/>
                </s:if>
        
        </div>
	<!-- end #content -->
	<div style="clear: both;">&nbsp;</div>
	<!-- end #page -->
	<div id="footer">

	</div>
	<!-- end #footer -->
</div>
    </body>
</html>
